#ifndef BACKGROUND_H
#define BACKGROUND_H

#include <QGraphicsItem>

class DrawingArea;

class Background : public QGraphicsItem
{
public:
    Background(DrawingArea* drawing, int width, int height);

    void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
    QRectF boundingRect() const;

private :
    DrawingArea* drawing;
    int widthBoundingRect;
    int heightBoundingRect;
};

#endif // BACKGROUND_H
